﻿// =================================================================== 
// Module说明
//====================================================================
// 创建时间：2018-12-20 11:46:45
// 负责人：Sushee
// ===================================================================
using System;
using System.Data;
using System.Collections.Generic;
using OF.Utility;
using OF.Component.Model;
using OF.Component.IDAL;
using OF.Component.Factory;
namespace OF.Component.BLL
{

    /// <summary>
    ///
    /// </summary>
    public partial class CityOpenOperate
    {
        private static readonly ICityOpen dal = CityOpen.CreateInstance();



        public static int GetMaxID()
        {
            return dal.GetMaxID();
        }

        public static int Insert(CityOpenInfo info)
        {
            int reValue = dal.Insert(info);
            return reValue;
        }

        public static void Update(CityOpenInfo info)
        {
            dal.Update(info);
        }

        public static void Delete(int id)
        {
            dal.Delete(id);
        }

        public static CityOpenInfo GetByID(int id)
        {
            return dal.GetByID(id);
        }
    }

}